﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace Practice___单选框绑定.ViewModel
{
    public class SingleRadioViewModel:ViewModelBase
    {
        public SingleRadioViewModel()
        {
            radioContent = "欢喜C#开发吗?";
        }

		private string radioContent;

		public string RadioContent
		{
			get { return radioContent; }
            set
            {
                radioContent = value;
                RaisePropertyChanged(nameof(RadioContent));
            }
		}

		private bool isChecked;

		public bool IsChecked
		{
			get { return isChecked; }
            set
            {
                isChecked = value;
                RaisePropertyChanged(nameof(IsChecked));
            }
		}
    }
}
